
/*20130417 added by michael
TFT LCD model: FG035QW00_
header file*/

#ifndef __TFT_LCD_H__
#define __TFT_LCD_H__ 1

/*some tft lcd command*/
#define FG035QW00_Initial 0xF1, 0x07, 0xF8, 0x29, 0x00, 0x01, 0x01, 0x23, 0xF4
#define TFT_Busy DrvGPIO_GetBit(GPB, 11)

#define TFT_Send_Command(TFT_Send_Command, len, delay) \
   {  \
     { while(TFT_Busy)  \
         Delay10ms(2);  }  \
     DrvUART_Write(TFT_COMM_PORT, (uint8_t *)TFT_Send_Command, len); \
   }




#endif //TFT_LCD_H__

